package com.woniuxy01;

import javax.xml.stream.FactoryConfigurationError;

/**
 * @author 作者
 * @create 2025-05-27 9:27
 */
public class Test08 {
    public static void main(String[] args) {
        int[] nums = {1,2,8,12,65,98};
        int num=65;
        boolean flag=false;
        for(int i : nums){
            if(i==num){
                flag=true;
                break;
            }
        }
        if(flag){
            System.out.println("存在");
        }else{
            System.out.println("不存在");
        }

    }
}
